@extends('admin.base')

@section('content')
    <div class="layui-card">
        <div class="layui-card-header layuiadmin-card-header-auto" style="display:flex;align-items: center;">
            <h2>更新记录</h2>
            <a href="/admin/community_data?community_id={{$community_id}}" style="margin-left:10px;" class="layui-btn layui-btn-normal layui-btn-sm">成交列表</a>
            <a href="{{ route('admin.community') }}" style="margin-left:10px;" class="layui-btn layui-btn-sm">小区列表</a>
        </div>
        <div class="layui-card-body">
            <form class="layui-form" action="{{route('admin.community_data.update',['id'=>$data->id])}}" method="post">
                {{ method_field('put') }}
                @include('admin.community_data._form')
            </form>
        </div>
    </div>
@endsection

@section('script')
    @include('admin.community_data._js')
@endsection
